
<!DOCTYPE html>

<%@page import="org.apache.shiro.SecurityUtils"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>    
<html>
	<head>
		<meta charset="utf-8">
		<title>index</title>
	 <link rel="stylesheet" href="${pageContext.request.contextPath}/statics/css/layout-default-latest.css">
	</head> 
	<body>
		<iframe name="content" class="ui-layout-center" src="${pageContext.request.contextPath}/main/testRole.htm" frameborder="0" scrolling="auto"></iframe>
		<div class="ui-layout-north">欢迎[<shiro:principal/>]<a href="${pageContext.request.contextPath}/main/logout.htm">退出</a></div>
		<div class="ui-layout-south">
		    神州数码
		</div>
		<div class="ui-layout-west">
		    功能菜单<br/>${result}
		     <c:forEach items="${menus}" var="m">
        <a href="${pageContext.request.contextPath}/${m.url}" target="content">${m.name}</a><br/>
    </c:forEach>
    <a href="${pageContext.request.contextPath}/test/simple/index.htm?page=0,10&sort=id,desc&sort=name,asc" target="content">test</a><br/>
    <a href="${pageContext.request.contextPath}/main/debug.json" target="content">debug</a><br/>
    <a href="${pageContext.request.contextPath}/main/unDebug.json" target="content">undebug</a><br/>
    <a href="${pageContext.request.contextPath}/main/testRole.json" target="content">testRole.json</a><br/>
    <a href="${pageContext.request.contextPath}/main/testRole.htm" target="content">testRole.htm</a><br/>
    <a href="${pageContext.request.contextPath}/test/simple/testSimpleManager.htm" target="content">testSimpleManager</a><br/>
     <a href="${pageContext.request.contextPath}/sys/user/sysUserManager.htm" target="content">sysUserManager</a><br/>
		</div>


<script src="${pageContext.request.contextPath}/statics/js/jquery-1.9.0.min.js"></script>
<script src="${pageContext.request.contextPath}/statics/js/jquery.layout-latest.min.js"></script>
<script>
    $(function () {
        $(document).ready(function () {
            $('body').layout({ applyDemoStyles: true });
        });
    });
</script>
	</body>
</html>
